import request from '@/utils/request'

export function messageInfoList(query) {
  return request({
    url: '/message/list',
    method: 'get',
    params: query
  })
}

export function messageUpdate(id, data) {
  return request({
    url: `/message/${id}`,
    method: 'put',
    data
  })
}

export function selectMessage(query) {
  return request({
    url: `/message/selectMessage`,
    method: 'get',
    params: query
  })
}


